import keyboard  
import pyautogui  
def click(x,y,duration=0.1):
    pyautogui.moveTo(x, y, duration)
    pyautogui.click()
def on_ctrl_pressed():  
    click(644,102)
    click(680,181)
    click(834,185)
 
# 监听 Ctrl 键按下事件  
keyboard.add_hotkey('ctrl', on_ctrl_pressed)  
 
print("正在监听 Ctrl 键，按 'esc' 键退出...")  
 
# 保持脚本运行，直到用户按下 'esc' 键  
keyboard.wait('esc')